home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Communication
/
NewsBase
/
Source
/
TransparentWindow.h
< prev
next >
Wrap
Text File
|
1993-01-12
|
1KB
|
39 lines
// TransparentWindow.h
// By Jayson Adams, NeXT Developer Support Team
// You may freely copy, distribute and reuse the code in this example.
// NeXT disclaims any warranty of any kind, expressed or implied, as to its
// fitness for any particular use.
// modified by Miyai, ISR 1992.7.28
#import <dpsclient/event.h>
#import <objc/Object.h>
@interface TransparentWindow:Object
{
id image, source, previousWindowUnderMouse, animator;
NXSize windowSize;
int iWindow, bgWindow, niWindow, gWindow, igstate, bggstate,
nigstate, imageGstate, ggstate, previousWindowNumUnderMouse,
frames;
NXPoint increment, currentPoint, stoppingPoint, mouseOffset;
char iTitle[128];
id iIconImage;
BOOL iDefaultAccepted;
}
/* instance methods */
- initForImage:anImage at:(NXPoint *)windowOrigin forView:anObject;
- free;
- imageWindow;
- image;
- source;
- (const char *)title;
- dragFromMouseDown:(NXPoint *)startingPoint mouseOffset:(NXPoint *)offset;
- checkForAcceptWindow:(int)windowNumUnderMouse atPoint:(NXPoint *)point
:(int *)windowUnderMouseChanged :(int *)previousWindowUnderMouseChanged;
- (BOOL)defaultAccepted;
- preambleForAccepted:(BOOL)flag;
@end